
function date(){
    var date = new Date();
    var y = date.getYear()+1900;
    var m = (date.getMonth()+1).toString();
    var d = date.getDate().toString();
    var h = date.getHours().toString();
    var i = date.getMinutes().toString();
    var s = date.getSeconds().toString();
    if(m.length==1){
      m = '0'+m;
    }
    if(d.length==1){
      d = '0'+d;
    }
    if(h.length==1){
      h = '0'+h;
    }
    if(i.length==1){
      i = '0'+i;
    }
    if(s.length==1){
      s = '0'+s;
    }

      return m+'月'+d+'日'+h+':'+i+':'+s;
}